# -*- coding: utf-8 -*-
class inqueryPage():
    def __init__(self,driver):
        self.driver=driver
    def btnIntegratedquery(self):
        return self.driver.find_element_by_xpath('//*[@id="app"]/div/div[2]/div[1]/div/div/ul/li[5]/div/div')
    def inpPolicyNo(self):
        return self.driver.find_element_by_xpath('//*[@id="curLeftBox"]/div/div[3]/div[1]/div[4]/div[2]/div/input')
    def btnQuery(self):
        return self.driver.find_element_by_xpath('//*[@id="curLeftBox"]/div/div[3]/div[1]/div[12]/div/button[2]')
    def btnAssign(self):
        return self.driver.find_element_by_xpath('//*[@id="curLeftBox"]/div/div[3]/div[2]/div[1]/div[3]/table/tbody/tr/td[12]/div/button[2]')
    def inpAssignTo(self):
        return self.driver.find_element_by_xpath('//*[@id="curLeftBox"]/div/div[4]/div/div[2]/div[5]/div[2]/div/div/input')
    def secAssignTo(self):
        return self.driver.find_element_by_xpath('/html/body/div[3]')
    def btnComfire(self):
        return self.driver.find_element_by_xpath('//*[@id="curLeftBox"]/div/div[4]/div/div[3]/div/button[1]')
    def btnCancel(self):
        return self.driver.find_element_by_xpath('//*[@id="curLeftBox"]/div/div[4]/div/div[3]/div/button[2]')
    def inpPolicyMan(self):
        return self.driver.find_element_by_xpath('//*[@id="curLeftBox"]/div/div[4]/div/div[2]/div[4]/div[2]/div/input')
    def PolicyMan(self):
        return self.driver.find_element_by_xpath('//*[@id="app"]/div/div[1]/section/header/span[2]')
        # return self.driver.find_element_by_css_selector('span.Exit_logon special_logon')
    def btnSumbit(self):
        return self.driver.find_element_by_xpath('/html/body/div[3]/div/div[3]/button')
    def inpUWdecision(self):
        return self.driver.find_element_by_xpath('//*[@id="curLeftBox"]/div/div[3]/div[2]/div[1]/div[3]/table/tbody/tr/td[11]/div')
    # 综合查询目标数据
    def btnTarget(self):
        return self.driver.find_element_by_xpath('//*[@id="curLeftBox"]/div/div[3]/div[2]/div[1]/div[3]/table/tbody/tr/td[2]/div/span')
    # 保费
    def inpPremium(self):
        return self.driver.find_element_by_xpath('//*[@id="app"]/div/div[4]/div/div/div[2]/div[1]/div[3]/table/tbody/tr/td[12]/div')


